package springboot.springboot06.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import springboot.springboot06.Bean.Manager;

import java.util.List;

//@Mapper
public interface ManagerMapper {

    public Manager getmanager(Integer id);

    @Select("select * from manager")
    public List<Manager> getmanagers();

    public void addManager(Manager manager);

}
